package org.jsbd.boss.dao;

import java.util.List;

import org.jsbd.boss.domian.SimuatorStatusInfo;

public interface ISimuatorStatusInfoDao {
    /**
     * 用户升级列表
     * @param simuatorStatusInfo
     * @return
     */
	List<SimuatorStatusInfo> getSimulatorList(SimuatorStatusInfo simuatorStatusInfo);
	
	/**
	 * 用户升级数量
	 * @param simuatorStatusInfo
	 * @return
	 */
	Integer getSimulatorListCount(SimuatorStatusInfo simuatorStatusInfo);
    
	/**
	 * 修改任务状态
	 * @param simLists
	 */
	void updateByUuid(List<SimuatorStatusInfo> simLists);
    
	/**
	 * 获取机柜信息
	 * @param clientIp
	 * @return
	 */
	String findCabinetByIp(String clientIp);
    
	/**
	 * 清理状态
	 * @param simLists
	 */
	void updateStatusByUuid(List<SimuatorStatusInfo> simLists);
    
	
	void deleteOfflineByUuid(List<String> uuidList);
	
	void deleteOfflineByBizVer(String bizVer);

	List<SimuatorStatusInfo> selectByModel(String model);
}
